<template>
	<view class="card empty-state-card">
		<u-image :src="bindhouseEemty" width="554rpx" height="416rpx"></u-image>
		<view class="prompt-text">
			点击下方按钮，选择需绑定的房屋（支持多选）
			<view>完成业主认证关键一步</view>
		</view>
		<view class="select-house-btn" @click="handleSelectHouse">
			<u-icon name="plus" color="#4D7FFF" size="16"></u-icon>
			<text class="select-house-btn-text">选择房屋</text>
		</view>
	</view>
</template>

<script>
	import bindhouseEemty from '@/static/bindhouse-emty.svg';
	export default {
		name: "NotSelectCom",
		data() {
			return {
				bindhouseEemty
			};
		},
		methods: {
			handleSelectHouse() {
				this.$emit('select-house');
			}
		}
	}
</script>

<style lang="scss" scoped>
	.card {
		background: linear-gradient(180deg, #D8EAFF 0%, #F8FAFD 25%, #ffffff 100%);
		box-shadow: inset 0rpx 2rpx 0rpx 0rpx #FFFFFF, 0rpx 5rpx 14rpx 0rpx rgba(169, 194, 209, 0.1);
		border-radius: 18rpx;
	}

	.empty-state-card {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		padding: 40rpx;

		.prompt-text {
			font-weight: 400;
			font-size: 29rpx;
			color: #333333;
			white-space: nowrap;
		}

		.select-house-btn {
			margin-top: 40rpx;
			width: 320rpx;
			height: 80rpx;
			background: #FFFFFF;
			border: 1px solid #3B75FA;
			border-radius: 12rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			color: #3B75FA;
			margin-bottom: 40rpx;

			.select-house-btn-text {
				margin-left: 8rpx;
				font-size: 30rpx;
			}
		}
	}
</style>
